package com.xiashitech.sqlparser.utils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class SqlMatchUtil {
    public static boolean canNotParsedSql(String sql) {
        String regEx = "(SHOW(\\s+)*VARIABLES)";
        Pattern pattern = Pattern.compile(regEx,Pattern.CASE_INSENSITIVE);
        Matcher matcher = pattern.matcher(sql);
        if(matcher.find()) {
            return true;
        } else {
            return false;
        }
    }
}
